package com.hh.demo.constants;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 一些封装在yml里的常量
 * @author 黄浩
 * @create 2022-07-17 20:16
 */
@Component
@Data
@ConfigurationProperties(prefix = "register.telcode")
public class TelCodeConstants {
    private Integer interval;
    private Integer size;
    private Long timeout;
    private String telmessage;
    private String title;
}
